﻿<%@ Page Language="C#" MasterPageFile="~/education.master" AutoEventWireup="true" CodeFile="eduExamquestion.aspx.cs" Inherits="eduExamquestion" Title="Untitled Page" %>
<%@ Register Assembly="Infragistics2.WebUI.WebDataInput.v7.3, Version=7.3.20073.38, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
    Namespace="Infragistics.WebUI.WebDataInput" TagPrefix="igtxt" %>

<%@ Register Assembly="Infragistics2.WebUI.UltraWebGrid.v7.3, Version=7.3.20073.38, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
    Namespace="Infragistics.WebUI.UltraWebGrid" TagPrefix="igtbl" %>

<%@ Register Assembly="Infragistics2.WebUI.Misc.v7.3, Version=7.3.20073.38, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
    Namespace="Infragistics.WebUI.Misc" TagPrefix="igmisc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="EduContent" Runat="Server">
    <igmisc:WebPanel ID="WebPanel1" runat="server" CssClass="igwpMainSilver2k7" Style="width: 100%;
        height: 100%">
        <PanelStyle CssClass="igwpPanelSilver2k7">
        </PanelStyle>
        <Header Text="题库编辑">
            <ExpandedAppearance>
                <Styles CssClass="igwpHeaderExpandedSilver2k7">
                </Styles>
            </ExpandedAppearance>
            <HoverAppearance>
                <Styles CssClass="igwpHeaderHoverSilver2k7">
                </Styles>
            </HoverAppearance>
            <CollapsedAppearance>
                <Styles CssClass="igwpHeaderCollapsedSilver2k7">
                </Styles>
            </CollapsedAppearance>
        </Header>
        <Template>
            <table style="width: 100%; height: 100%">
                <tbody>
                    <tr>
                        <td align="right" colspan="4">
                            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="添加新题" /></td>
                    </tr>
                    <tr>
                        <td align="left" colspan="4" valign="top">
                           <igtbl:UltraWebGrid ID="UltraWebGrid1" runat="server"
                                OnUpdateRow="UltraWebGrid1_UpdateRow" Style="left: 14px; top: 0px" Width="100%">
                                <Bands>
                                    <igtbl:UltraGridBand>
                                        <RowEditTemplate>
                                            <p align="right">
                                                <table style="width: 550px">
                                                    <tr>
                                                        <td align="left" style="width: 66px" valign="top">
                                                            题目内容</td>
                                                        <td align="left">
                                                            <input id="igtbl_TextBox_0_0" columnkey="题目内容" style="width: 300px; height: 200px; overflow: auto;"
                                                                type="text" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" style="width: 66px">
                                                            题目答案</td>
                                                        <td align="left" style="width: 30px">
                                                            <input id="igtbl_TextBox_0_1" columnkey="题目答案" style="width: 300px; height: 19px"
                                                                type="text" />&nbsp;
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" style="width: 66px">
                                                            选择A</td>
                                                        <td style="width: 30px">
                                                            <input id="Text3" columnkey="选择A" style="width: 300px" type="text" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" style="width: 66px">
                                                            选择B</td>
                                                        <td style="width: 30px">
                                                            <input id="Text4" columnkey="选择B" style="width: 300px" type="text" /></td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" style="width: 66px">
                                                            选择C</td>
                                                        <td style="width: 30px">
                                                            <input id="Text1" columnkey="选择C" style="width: 300px" type="text" /></td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" style="width: 66px">
                                                            选择D</td>
                                                        <td style="width: 30px">
                                                            <input id="Text2" columnkey="选择D" style="width: 300px" type="text" /></td>
                                                    </tr>
                                                </table>
                                            </p>
                                            <br />
                                            <p align="center">
                                                <input id="igtbl_reOkBtn" onclick="igtbl_gRowEditButtonClick(event);" style="width: 50px"
                                                    type="button" value="OK" />&nbsp;
                                                <input id="igtbl_reCancelBtn" onclick="igtbl_gRowEditButtonClick(event);" style="width: 50px"
                                                    type="button" value="Cancel" /></p>
                                        </RowEditTemplate>
                                        <AddNewRow View="NotSet" Visible="NotSet">
                                        </AddNewRow>
                                        <Columns>
                                            <igtbl:TemplatedColumn>
                                                <CellTemplate>
                                                    <asp:LinkButton ID="LinkButton1" runat="server" OnClick="Button2_Click1" OnClientClick="return confirm('你确定要删除吗？将不可恢复!');">删除</asp:LinkButton>
                                                </CellTemplate>
                                            </igtbl:TemplatedColumn>
                                        </Columns>
                                        <RowTemplateStyle BackColor="Window" BorderColor="Window" BorderStyle="Ridge">
                                            <BorderDetails WidthBottom="3px" WidthLeft="3px" WidthRight="3px" WidthTop="3px" />
                                        </RowTemplateStyle>
                                    </igtbl:UltraGridBand>
                                </Bands>
                                <DisplayLayout AllowColumnMovingDefault="OnServer" AllowSortingDefault="OnClient"
                                    AllowUpdateDefault="Yes" BorderCollapseDefault="Separate" HeaderClickActionDefault="SortMulti"
                                    Name="UltraWebGrid1" RowHeightDefault="20px" SelectTypeRowDefault="Extended"
                                    StationaryMargins="Header" StationaryMarginsOutlookGroupBy="True" TableLayout="Fixed"
                                    Version="4.00">
                                    <GroupByBox>
                                        <BoxStyle BackColor="ActiveBorder" BorderColor="Window">
                                        </BoxStyle>
                                    </GroupByBox>
                                    <GroupByRowStyleDefault BackColor="Control" BorderColor="Window">
                                    </GroupByRowStyleDefault>
                                    <ActivationObject BorderColor="" BorderWidth="">
                                    </ActivationObject>
                                    <FooterStyleDefault BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">
                                        <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />
                                    </FooterStyleDefault>
                                    <RowStyleDefault BackColor="Window" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"
                                        Font-Names="Microsoft Sans Serif" Font-Size="8.25pt">
                                        <BorderDetails ColorLeft="Window" ColorTop="Window" />
                                        <Padding Left="3px" />
                                    </RowStyleDefault>
                                    <FilterOptionsDefault>
                                        <FilterOperandDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid"
                                            BorderWidth="1px" CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif"
                                            Font-Size="11px">
                                            <Padding Left="2px" />
                                        </FilterOperandDropDownStyle>
                                        <FilterHighlightRowStyle BackColor="#151C55" ForeColor="White">
                                        </FilterHighlightRowStyle>
                                        <FilterDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"
                                            CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif"
                                            Font-Size="11px" Height="300px" Width="200px">
                                            <Padding Left="2px" />
                                        </FilterDropDownStyle>
                                    </FilterOptionsDefault>
                                    <HeaderStyleDefault BackColor="LightGray" BorderStyle="Solid" HorizontalAlign="Left">
                                        <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />
                                    </HeaderStyleDefault>
                                    <EditCellStyleDefault BorderStyle="None" BorderWidth="0px" Width="200px">
                                    </EditCellStyleDefault>
                                    <FrameStyle BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid"
                                        BorderWidth="1px" Font-Names="Microsoft Sans Serif" Font-Size="8.25pt" Width="100%">
                                    </FrameStyle>
                                    <Pager AllowPaging="True" MinimumPagesForDisplay="2">
                                        <PagerStyle BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">
                                            <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />
                                        </PagerStyle>
                                    </Pager>
                                    <AddNewBox>
                                        <BoxStyle BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid" BorderWidth="1px">
                                            <BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />
                                        </BoxStyle>
                                    </AddNewBox>
                                </DisplayLayout>
                            </igtbl:UltraWebGrid>
                        </td>
                    </tr>
                </tbody>
            </table>
        </Template>
    </igmisc:WebPanel>
</asp:Content>

